import request from '@/utils/request'

//根据cityid查询房屋
export const getHousesById = cityid => {
  return request.get('/houses', { params: { cityid } })
}
// 查询房屋具体信息
export const getHousesDetail = id => {
  return request.get(`/houses/${id}`)
}
//根据综合条件查询房屋
export const getHousesByObj = params => {
  return request.get('/houses', { params })
}
